package com.alks.function.data.dto.stockdept.pcfactorystockwork;

import com.alks.entity.data.i18n.TranslateField;
import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/6/28下午9:10
 */
@Data
public class CuttingRecDetDto {

    @ApiModelProperty(value = "收发类型")
    private String lsCollectType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime collectTime;

    @ApiModelProperty(value = "设备编号")
    private String collectPad;

    @ApiModelProperty(value = "部位")
    private String partName;

    @JsonSerialize(using = TranslateFieldSerializer.class)
    @ApiModelProperty(value = "部位")
    private String partName1;

    @ApiModelProperty(value = "轮次")
    private BigDecimal lsNo;

    @ApiModelProperty(value = "批次")
    private BigDecimal batchNo;

    @ApiModelProperty(value = "号码")
    private String sizeNo;

    @ApiModelProperty(value = "标签")
    private String labelNo;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inQty;

}
